package com.ygj.inspection.service;

import java.util.List;
import java.util.Map;

import com.base.common.persistent.model.Employee;
import com.cjy.common.bean.Files;

public interface EmployeeService {

	/**
	 * 获取根据职位和小区id员工列表
	 * 
	 * @param dept
	 * @param compoundsId
	 * @return
	 */
	public List<Employee> getEmployeesByDeptAndCompoundsId(int dept,
			int compoundsId);

	/**
	 * 用户选择默认小区
	 * 
	 * @param employeeId
	 *            员工id
	 * @param compoundsId
	 *            小区id
	 * @return
	 */
	public int chooseDefaultCompounds(int employeeId, int compoundsId);

	/**
	 * 上传头像图片
	 * 
	 * @param employeeId
	 * @param files
	 * @param basePath
	 * @return
	 */
	public int subHeadPic(int employeeId, Files files, String basePath);

	/**
	 * 获取当前登录用户头像
	 * 
	 * @param id
	 * @return
	 */
	public String getHeadPicUrlByMySelf(int employeeId);

	/**
	 * 模糊查询云办公用户
	 * 
	 * @param map
	 * @return
	 */
	public Object getYunWorkEmployeeByCondition(Map map);

	/**
	 * 模糊查询用户
	 * 
	 * @param compoundsId
	 * @param name
	 * @param dept 
	 * @return
	 */
	public Object getEmployeesByUncertainName(int compoundsId, String name, int dept);

	/**
	 * 获取环信用户信息
	 * 
	 * @param ids
	 * @return
	 */
	public Object getEmchatUserInfo(String ids);

	/**
	 * 获取员工脸部数据
	 * 
	 * @param id
	 * @return
	 */
	public Object getFaceData(String id);

	/**
	 * 更新员工脸部数据
	 * 
	 * @param ids
	 * @param faceData
	 * @return
	 */
	public Object updateFaceData(String ids, String faceData);

}
